package com.portal.incurridos.persistence.configuration;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @author Alan Dávila
 * e-mail ustargab@gmail.com
 * date 08/11/2013 22:00:14
 */
@Entity
@Table(schema = "app", name = "label")
@SequenceGenerator(sequenceName = "app.label_label_seq", name = "idgen", allocationSize = 1)
public class Label {

	/**
	 * Identifier.
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "idgen")
	private Integer label;
	/**
	 * Description for label.
	 */
	private String description;
	/**
	 * Type define the behavior to paint the label.
	 */
	private Integer type;
	/**
	 * @return the label
	 */
	public final Integer getLabel() {
		return label;
	}
	/**
	 * @param labelIn the label to set
	 */
	public final void setLabel(final Integer labelIn) {
		this.label = labelIn;
	}
	/**
	 * @return the description
	 */
	public final String getDescription() {
		return description;
	}
	/**
	 * @param descriptionIn the description to set
	 */
	public final void setDescription(final String descriptionIn) {
		this.description = descriptionIn;
	}
	/**
	 * @return the type
	 */
	public final Integer getType() {
		return type;
	}
	/**
	 * @param typeIn the type to set
	 */
	public final void setType(final Integer typeIn) {
		this.type = typeIn;
	}
}
